package edu.predatorwars.shared.models;

import java.util.List;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

public class GameListPayload {

	public List<GameInfo> gameList;
	
	@JsonCreator
	public GameListPayload(@JsonProperty("gameList") List<GameInfo> openGames) {
		super();
		gameList = openGames;
	}
	
	public List<GameInfo> getGameList() {
		return gameList;
	}

	
}
